package com.huang.consumer_mall.service;


import com.huang.consumer_mall.dao.CommodityDao;
import com.huang.consumer_mall.model.Commodity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommodityService extends BaseService<CommodityDao,Commodity> {
    @Autowired
    protected CommodityDao commodityDao;

    public Commodity findDetail(Commodity commodity){
        return commodityDao.findDetail(commodity);
    }

}
